package com.xx.system.domain.data;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * TODO
 *
 * @Author kzw
 * @Date 2025/3/27 14:30
 */
@Data
@TableName("ship_data")
@KeySequence("SEQ_TEST")
public class ShipData {
    @TableId(type = IdType.NONE)
    private String mmsi;
    private String name;
    //@TableId(type = IdType.NONE)
    private Long time;
    private Double lon;
    private Double lat;
    private Float sog;
    private Float cog;
    private Float rot;
    private Float heading;
    private String callsign;
    private Integer shipType;
    private Float toBow;
    private Float toStern;
    private Float toPort;
    private Float toStarboard;
    private String destination;
    private String tenantId;
    private Long createDept;
    private Long createBy;
    private LocalDateTime createTime;
    private Long updateBy;
    private LocalDateTime updateTime;

    // 添加用于存储格式化时间的字段
    @TableField(exist = false)
    private String timeStr;
    @TableField(exist = false)
    private List<String> videoUrls;
}
